	<!--  CONTENT SECTION BEGINS HERE-->

						
		<br>
		
		
		<!--TABLE FOR LATER USE-->	
	   <div class="table" style="width:600px;"> <img src="../images/bg-th-left.gif" width="8" height="7" alt="" class="left" /> 
							<img src="../images/bg-th-right.gif" width="7" height="7" alt="" class="right" />
											
		
        <table class="listing" style="width:600px;" cellpadding="0" cellspacing="0">
          <tr>
            <th class="first" width="100">Weekday</th>
            <th width="50">Q-Shift</th>
            <th width="200">Hours</th> 
            <th width="100"> SWAP!</th>
            <th width="50">Q-Shift</th>
            <th width="200" class="last">Hours</th> 
          </tr>	
		  <tr>	  
			<th>
				&nbsp
			</th>
			<th colspan=2>
				<b><?php echo $this->data[0][1] ?>
			</th>	  
			<th>
				&nbsp
			</th>
			<th colspan=2>
				<b><?php echo $this->data[0][4] ?>
			</th>
		  <tr>
		  
		<?php
		
		
		for($i=0;$i <= sizeof($this->data)-1;$i++):
			$trClassEnabled= '';
			if(($i % 2)==0)
				$trClassEnabled = 'class="bg"';
			else	
				$trClassEnabled = 'class="bg2"';				
			echo "<tr ".$trClassEnabled.">\n";
				echo "<td class='first style2'>".$this->data[$i][0]."</td>\n";
				echo "<td>".$this->data[$i][2]."</td>\n";
				echo "<td>".$this->data[$i][3]."</td>\n";
				echo "<td>";
				if ($this->data[$i][7] != "SWAP") {		
					echo "<a href='javascript_required' title='SWAP' 
						  onclick=\"doSwap('".$this->data[$i][0]."',
										   '".$this->data[$i][1]."',
										   '".$this->data[$i][2]."',
										   '".$this->data[$i][4]."',
										   '".$this->data[$i][5]."');return false;\">";
					echo "<img src='../images/double_arrow.png' alt='SWAP' width=25px height=25px></a>";
				} else
					echo "<a href='#' title='You or the target user already SWAPed for this day!'>
						  <img src='../images/cancel.png' alt='Already Swapped' width=20px height=20px></a>";
				echo "</td>\n";
				echo "<td>".$this->data[$i][5]."</td>\n";
				echo "<td>".$this->data[$i][6]."</td>\n";
			echo "</tr>\n";
		
		
		endfor;
		
		?>

        </table>
		
      </div>		  
	  
	<!-- YOUR CONTENT SECTION ENDS HERE-->

